package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.FidelityDao;
import com.totoro.domain.Fidelity;
/*
 * 题目性质service
 */
@Transactional
@Service
public class FidelityService extends BaseService<Fidelity, Integer>{

	private FidelityDao fidelityDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Fidelity, Integer> fidelityDao) {
		// TODO Auto-generated method stub
		this.baseDao = fidelityDao;
		this.fidelityDao = (FidelityDao) fidelityDao;
	}

}
